Method LockForUpdateRequiredAsync(params long[])
Strict form of for CAS patterns (lock -> re-read -> save):
every requested id must exist. Throws
naming the missing ids, and refuses with to run
outside an active transaction, where a "lock" would guarantee nothing.
public Task LockForUpdateRequiredAsync(params long[] objectIds)